'''
Created on 2012-1-4

@author: Administrator
'''
from TestCase import *

#For demonstrate the method in one test case is running.
class WasRun(TestCase):

    def __init__(self, name):
        self.wasRun = None
        TestCase.__init__(self, name)
        
    def testMethod(self):
        self.log = self.log + " testMethod"
    
    def testBrokenMethod(self):
        raise Exception
        
    def setUp(self):
        self.log = "setUp"

    def tearDown(self):
        self.log = self.log + " tearDown"
        